<div>
    <vc:create path="frame/privilegeStaffInfo"></vc:create>
    <div class="row">
        <div class="col-lg-8">
            <div class="ibox">
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center">权限ID</th>
                            <th data-hide="phone" class="text-center">权限名称</th>
                            <th data-hide="phone" class="text-center">隶属权限组ID</th>
                            <th data-hide="phone,tablet" class="text-center">隶属权限组名称</th>
                            <th data-hide="phone" class="text-center">状态</th>
                            <th class="text-center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="privilege in staffPrivilegeInfo.privileges">
                            <td class="text-center">
                                {{privilege.pId}}
                            </td>
                            <td class="text-center">
                                {{privilege.pName}}
                            </td>
                            <td class="text-center">
                                {{privilege.pgId}}
                            </td>
                            <td class="text-center">
                                {{privilege.pgName}}
                            </td>
                            <td class="text-center">
                                <span class="label label-primary">在用</span>
                            </td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteStaffPrivilegeModel(privilege)">删除
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-lg-4 animated fadeInRight">
            <div class="mail-box-header">
                <h2>树形结构</h2>
            </div>
            <div class="mail-box">
                <div id="jstree_privilege">
                </div>
            </div>
        </div>
    </div>
    <!-- 删除员工权限 -->
    <vc:create path="frame/deleteStaffPrivilege"></vc:create>
</div>